define(['./plataforma'], function (plataforma) {
    'use strict';
    return plataforma.config(['$routeProvider', function ($routeProvider) {
    	$routeProvider.when('/view1', {
            templateUrl: 'scripts/views/partial1.html',
            controller: 'PlataformaController'
        });
    	
    	$routeProvider.when('/login', {
            templateUrl: 'scripts/views/login.html',
            controller: 'LoginController'
        });

        $routeProvider.otherwise({
            redirectTo: '/view1'
        });
    }]);
});